<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="icon" 
      type="image/ico" 
      href="images/favicon6.ico">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>First Consult</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function loadPage(jspPage)
{
	document.getElementById('postbodyPan').innerHTML = "<iframe  class='right_frame' src='"+jspPage+"'  ></iframe>";
	
	}
function loadJsp()
{
	document.getElementById('postbodyPan').innerHTML = "<iframe class='right_frame' src='SearchBySpecialization.jsp' ></iframe>";
	
	}
	
</script>
<style type="text/css">
.right_frame { margin-left:20px;border:1px none;width:75%;height:1000px; scrolling:auto;}
#postbodyPan {width:75%; float:right; padding-top: 2%;}
#formid {height:30px;width:5%; padding:0}
</style>
</head>
<body id="landingBody" onload="loadJsp()">
<jsp:include page="Header.jsp" />
<div style="font-size: 18px;font-weight: bold;color:crimson;padding:10px 45px;"> &nbsp;&nbsp;Hi <%= session.getAttribute("user") %>!</div>
<div style="float:left;" id="headerPan">
  <div id="headerPanleft">
  
  	    <div id="ourblog">
			<h2>Doctors</h2>
			<p>Find a doctor</p>
			<a href="javascript:loadPage('SearchBySpecialization.jsp');">&nbsp;</a>
		</div>
		 <div id="ourblog1">
			<h2>Network</h2>
			<p>My doctor list</p>
			<a href="javascript:loadPage('MySpecializationDoctors.jsp');">&nbsp;</a>
		</div>
        <div id="possib">
			<h2>Appointments</h2>
			<p>My appointments</p>
			<a href="javascript:loadPage('ViewMyAppointments');">&nbsp;</a>
		</div>
		<div id="solution2">
			<h2>Feeds</h2>
			<p>List of messages</p>
			<a href="javascript:loadPage('ListPosts.jsp');">&nbsp;</a>
		</div>
		
		<div id="solution">
			<h2>Post</h2>
			<p>Post a question</p>
			<a href="javascript:loadPage('PostQuestion.jsp');">&nbsp;</a>
		</div>
  </div>
</div>
<div id="postbodyPan"></div>
<div style="clear:both;"></div>
<jsp:include page="Footer.jsp" />
</body>

</html>
